function redirect(id)
{
	var url = new Array();
	url[0] = "/";
	url[1] = "/save_profile";
	url[2] = "/save_author";
	url[3] = "/save_book";
	url[4] = "/library";
	window.location = url[id];
}